﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interface_Tier;
using Transfer_Object_Tier;
using System.Data;
using Data_Access_Tier;


namespace Business_Tier
{
    public class BT_KEYCODEData : MarshalByRefObject, IKEYCODEData
    {
        KEYCODEData KEYCODE = new KEYCODEData();

        public int KEYCODE_Delete(int Id_Key)
        {
            return KEYCODE.KEYCODE_Delete(Id_Key);
        }
        public int KEYCODE_Disable(int Id_Key, ref bool Enabled)
        {
            return 1;
        }
        public System.Data.DataSet KEYCODE_Get(int Id_Key)
        {
            return KEYCODE.KEYCODE_Get(Id_Key);
        }
        public System.Data.DataSet KEYCODE_GetList()
        {
            return KEYCODE.KEYCODE_GetList();
        }
        public int KEYCODE_Insert(int Id_Key, string KeyCode, int Id_Contact, DateTime DateCreate, string Property, int NumActive, int Activated, bool Blacklist, int TypeActive, int TypeSoft, DateTime DateLimit, bool Register)
        {
            return KEYCODE.KEYCODE_Insert(Id_Key,KeyCode,Id_Contact,DateCreate,Property,NumActive,Activated,Blacklist,TypeActive,TypeSoft,DateLimit,Register);
        }
        public int KEYCODE_Save(int Id_Key, string KeyCode, int Id_Contact, DateTime DateCreate, string Property, int NumActive, int Activated, bool Blacklist, int TypeActive, int TypeSoft, DateTime DateLimit, bool Register)
        {
            return KEYCODE.KEYCODE_Save(Id_Key, KeyCode, Id_Contact, DateCreate, Property, NumActive, Activated, Blacklist, TypeActive, TypeSoft, DateLimit, Register);
        }
        public int KEYCODE_Update(int Id_Key, string KeyCode, int Id_Contact, DateTime DateCreate, string Property, int NumActive, int Activated, bool Blacklist, int TypeActive, int TypeSoft, DateTime DateLimit, bool Register)
        {
            return KEYCODE.KEYCODE_Update(Id_Key, KeyCode, Id_Contact, DateCreate, Property, NumActive, Activated, Blacklist, TypeActive, TypeSoft, DateLimit, Register);
        }
    }
}
